﻿using Admin.Core.Common.BaseModel;
using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Admin.Core.Model.Admin
{
    [Table(Name = "AD_MENUKJ")]
    public class MenuKjEntity: Entity,IEntityTenant
    {
        [Column(Name = "USERID")]
        public long UserId { get; set; }


        [Column(Name = "PERMISSIONID")]
        public long PermissionId { get; set; }
        public PermissionEntity Permission { get; set; }

        [Description("租户")]
        [Column(Position = -4, CanUpdate = false, Name = "TENANTID")]
        public int TenantId { get; set; }
    }
}
